import Mock from 'mockjs'
import { getTopCategory } from './category'
Mock.setup({
  // 随机延迟500-1000毫秒
  timeout: '500-1000'
})
Mock.mock(/\/home\/category\/head/, 'get', getTopCategory)
